package org.example.erpapiservicespringpgimpl.mapper;

import org.example.erpapicommon.model.Stock;
import org.example.erpapiservicespringpgimpl.entity.StockEntity;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface StockMapper {
    List<Stock> toStockList(List<StockEntity> stocks);

}
